﻿using System;
using System.Collections.Generic;
using System.Globalization;

using System.Web;
using NetDon.Utilities;

namespace NetDon.eBoss.Portal.Common
{
    public class SystemConfiguration
    {
        public static string DateFormat = "yyyy-MM-dd";
        public static string TimeFormat = "HH:mm:ss";
        public static string DateTimeFormat = "yyyy-MM-dd HH:mm:ss";
        public static string DateMonthFormat = "yyyy-MM-dd HH:mm:ss";



        public const string TransportationPrefix = "Transportation Prefix";

        /// <summary>
        /// Gets the date time format info.
        /// </summary>
        /// <value>The date time format info.</value>
        public static DateTimeFormatInfo DateTimeFormatInfo
        {
            get
            {
                var formatInfo = new DateTimeFormatInfo
                {
                    ShortDatePattern = DateFormat,
                    FullDateTimePattern = DateTimeFormat
                };
                return formatInfo;

            }
        }
    }



    [Flags]
    public enum eBaySites
    {
        [EnumDescription("ebay.com")]
        US = 0,
        [EnumDescription("ebay.com.au")]
        AU = 1,
        [EnumDescription("ebay.co.uk")]
        UK = 2,
        [EnumDescription("ebay.de")]
        DE,
        [EnumDescription("ebay.fr")]
        FR,
        [EnumDescription("ebay.it")]
        IT,
        [EnumDescription("Site1")]
        Site1,
        [EnumDescription("Site2")]
        Site2,
        [EnumDescription("Site3")]
        Site3,
        [EnumDescription("Site4")]
        Site4

    }
}